import { RouteRecordRaw, createRouter,createWebHashHistory, Router } from 'vue-router';

const routes:RouteRecordRaw[]=[
    {
        path:'/',
        redirect:'/main'
    },
    {
        path:'/main',
        component:()=>import('@/views/main.vue')
    }
]

const router:Router=createRouter({
    history:createWebHashHistory(),
    routes

})
export default router